@charset 'utf-8';
@import url('reset.css');
/* Base Application Styles */
@font-face {
  font-family: 'icons-turn-arrow';
  src: url("../fonts/icons/turn-arrow.eot") format("embedded-opentype"), url("../fonts/icons/turn-arrow.woff") format("woff"), url("../fonts/icons/turn-arrow.ttf") format("truetype"), url("../fonts/icons/turn-arrow.svg") format("svg");
}
body,
html {
  width: 100%;
  height: 100%;
  background-color: #222;
  -webkit-transform: rotateZ(0);
          transform: rotateZ(0);
}
#app {
  width: 100%;
  height: 100%;
}
/*stage -- start*/
.stage {
  position: relative;
  width: 100%;
  height: 100%;
}
/*stage -- end*/
/*img-sec -- start*/
.img-sec {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ddd;
  -webkit-perspective: 1800px;
          perspective: 1800px;
}
.img-sec .img-figure {
  position: absolute;
  background-color: #fff;
  width: 240px;
  height: 270px;
  padding: 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-shadow: 1px 1px 15px #000;
          box-shadow: 1px 1px 15px #000;
  cursor: pointer;
  -webkit-transform-origin: 0 50% 0;
          transform-origin: 0 50% 0;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: left 0.6s ease-in-out, top 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  transition: left 0.6s ease-in-out, top 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, top 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, top 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}
.img-sec .img-figure.is-inverse {
  -webkit-transform: translate(240px) rotateY(180deg);
          transform: translate(240px) rotateY(180deg);
  -webkit-box-shadow: -1px 1px 15px #000000;
          box-shadow: -1px 1px 15px #000000;
}
.img-sec .img-figure img {
  width: 100%;
}
.img-sec .img-figure figurecaption {
  text-align: center;
}
.img-sec .img-figure figurecaption .img-title {
  margin-top: 10px;
  color: #a7a0;
  font-size: 16px;
  font-weight: bold;
}
.img-sec .img-figure figurecaption .img-back {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 30px 20px;
  overflow: auto;
  color: #a7a0a2;
  font-size: 18px;
  line-height: 1.6;
  text-indent: 0em;
  background-color: #fff;
  /*先开始时.img-back，旋转了180度，因为translateZ(1px)，位于正面图像的下方*/
  /*当.img-figure旋转时，.img-back又旋转了180度，旋转度数为360,因为translateZ(1px)，位于正面图像的上方*/
  -webkit-transform: rotateY(180deg) translateZ(1px);
          transform: rotateY(180deg) translateZ(1px);
  /*translateZ(1px) 是为了解决Safari 的bug 在http://www.imooc.com/video/11743 13 分 有解释*/
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
/*img-sec -- end*/
/*control -- start*/
.control {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.control .control-unit {
  margin: 0 5px;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #aaa;
  cursor: pointer;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transform: scale(0.6);
          transform: scale(0.6);
  -webkit-transition: background-color 0.3s, -webkit-transform 0.6s ease-in-out;
  transition: background-color 0.3s, -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, background-color 0.3s;
  transition: transform 0.6s ease-in-out, background-color 0.3s, -webkit-transform 0.6s ease-in-out;
}
.control .control-unit.is-center {
  -webkit-transform: scale(1);
          transform: scale(1);
}
.control .control-unit.is-inverse {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  background-color: #555;
}
.control .control-unit::after {
  font-family: 'icons-turn-arrow';
  font-size: 80%;
  color: #fff;
  line-height: 30px;
  content: "\e600";
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: grayscale;
}
/*control -- end*/
